// Copyright (c) 2024, the Dart project authors.
// All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

// ignore_for_file: camel_case_types

part of 'types.dart';

// Simple primitive type definitions
abstract final class ArkPrimitive {}

final class arkbyte extends ArkPrimitive {
  final int value;
  arkbyte(this.value);
}

final class arkshort extends ArkPrimitive {
  final int value;
  arkshort(this.value);
}

final class arkint extends ArkPrimitive {
  final int value;
  arkint(this.value);
}

final class arklong extends ArkPrimitive {
  final int value;
  arklong(this.value);
}

final class arkfloat extends ArkPrimitive {
  final double value;
  arkfloat(this.value);
}

final class arkdouble extends ArkPrimitive {
  final double value;
  arkdouble(this.value);
}

final class arkboolean extends ArkPrimitive {
  final bool value;
  arkboolean(this.value);
}

final class arkchar extends ArkPrimitive {
  final int value;
  arkchar(this.value);
}